/* ------------------------------------------------------------------------
	Author: Sample (http://www.slopetracker.no)
	Version: 1.0
------------------------------------------------------------------------- */
var stthemeCustom = {
    copyElement: function(id, append_id, args) {
        var defaults = new Array();
        defaults['open_tag'] = '';
        defaults['close_tag'] = '';
        var config = new Array();

        if(!args){
            config = defaults;
        }else{
            config['open_tag'] = args[0];
            config['close_tag'] = args[1];            
        }
        
        var data = config['open_tag'] + jQuery('#'+id).html() + config['close_tag'];
        jQuery('#'+append_id).append(data);

    },
    removeElement: function(id) {
        jQuery(id).remove();

    }
    
};